package org.dromara.hotel.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.hotel.domain.TerHotelRooms;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 酒店房型管理视图对象 ter_hotel_rooms
 *
 * @author xch
 * @date 2025-06-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TerHotelRooms.class)
public class TerHotelRoomsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 酒店id
     */
    @ExcelProperty(value = "酒店id")
    private Long hotelId;

    /**
     * 酒店名称
     */
    @ExcelProperty(value = "酒店名称")
    private String hotelName;

    /**
     * 房间名称类型
     */
    @ExcelProperty(value = "房间名称类型")
    private String roomType;

    /**
     * 房间预览图片
     */
    @ExcelProperty(value = "房间预览图片")
    private String roomImgurl;

    /**
     * 房间预览图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "roomImgurl")
    private String roomImgurlUrl;
    /**
     * 轮播图
     */
    @ExcelProperty(value = "轮播图")
    private String carouselImages;

    /**
     * 轮播图Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "carouselImages")
    private String carouselImagesUrl;
    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String description;

    /**
     * 原价
     */
    @ExcelProperty(value = "原价")
    private Integer price;

    /**
     * 标签
     */
    @ExcelProperty(value = "标签", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "ter_hotel_fac")
    private String label;

    /**
     * 总数量
     */
    @ExcelProperty(value = "总数量")
    private Long totalQuantity;



    /**
     * 房间规格
     */
    @ExcelProperty(value = "房间规格")
    private String specification;

    /**
     * 友情提示
     */
    @ExcelProperty(value = "友情提示")
    private String remark;

    /**
     * 排序号
     */
    @ExcelProperty(value = "排序号")
    private Long orderNum;

    private Integer finalPrice;

    private Integer status;
    private String wifi;
    private String wifiPwd;
}
